kmpkg_from_gitee(
    OUT_SOURCE_PATH SOURCE_PATH
    REPO kumo-hub/rapidcsv
    REF "v${VERSION}"
    SHA512 97dc392d054831a451b96ae7c113fbcb7a4592a5a2aad2234f465875f77c6592a3f6b3ab3bc319d8b77eb2650f873d107319d1e31daba8fa7594bc84a56ab6fc
    HEAD_REF master
)

kmpkg_cmake_configure(
    SOURCE_PATH "${SOURCE_PATH}"
)
kmpkg_cmake_install()

file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug")

file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
